package com.quwan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.quwan.entity.TPreserveData;
import org.apache.ibatis.annotations.Param;


/**
*  留存报表
* @author laozhang
* @date 2021-11-11
*/

public interface TPreserveDataMapper extends BaseMapper<TPreserveData> {

    TPreserveData getPreserveData(@Param("nowTime") String nowTime);

    TPreserveData selectPreserveDataByTime(@Param("dayTime") String dayTime);

    Page<TPreserveData> selectPreserveDataList(Page<TPreserveData> page,
                                                @Param("beginTime") String beginTime,
                                                @Param("endTime") String endTime,
                                                @Param("curWeek") String curWeek,
                                                @Param("curMonth")  String curMonth);
}